<style>
    .form-group {
        margin: 10px 0;
    }
    .panel-intro > .panel-heading {
        position: fixed;width: 100%;
        top: 0;
        z-index: 3;
    }

    .row_v{
        margin-top: 8px;
    }
    .content_row{
        border: 1px solid #1688f1;padding: 10px;border-radius: 4px;
    }
    .content_row img{
        max-width: 100%;
    }
</style>

<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title">课程信息</h3>
    </div>
    <div class="panel-body">
        <!--  表单信息 start  -->
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2"><span class="mast"></span>{:__('Name')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.name|htmlentities}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.type_name|default=""}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Type2_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.type2_name|default=""}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">
                    {if condition="$row.image"}
                    <a href="{$row.image|htmlentities}" target="_blank">
                        <img src="{$row.image|htmlentities}" alt="" width="80" height="80" style="object-fit: cover;">
                    </a>
                    {/if}
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Author_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.author_name|default=""}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.status==1?"上架":"隐藏"}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Next_status')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.next_status==1?"更新中":"已完结"}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v content_row">{$row.content|default=""}</div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Click')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="row_v">{$row.click|htmlentities}</div>
            </div>
        </div>
        </form>

        <!--  表单信息 end  -->
    </div>
</div>






